package com.hjm.project.TransactionAccumulation.zlCashDetails.mapper;

import java.util.List;
import com.hjm.project.TransactionAccumulation.zlCashDetails.domain.ZlCashDetails;

/**
 * 增量返现明细Mapper接口
 *
 * @author maker-platform
 * @date 2021-07-07
 */
public interface ZlCashDetailsMapper
{
    /**
     * 查询增量返现明细
     *
     * @param id 增量返现明细ID
     * @return 增量返现明细
     */
    public ZlCashDetails selectZlCashDetailsById(Integer id);

    /**
     * 查询增量返现明细列表
     *
     * @param zlCashDetails 增量返现明细
     * @return 增量返现明细集合
     */
    public List<ZlCashDetails> selectZlCashDetailsList(ZlCashDetails zlCashDetails);

    /**
     * 新增增量返现明细
     *
     * @param zlCashDetails 增量返现明细
     * @return 结果
     */
    public int insertZlCashDetails(ZlCashDetails zlCashDetails);

    /**
     * 修改增量返现明细
     *
     * @param zlCashDetails 增量返现明细
     * @return 结果
     */
    public int updateZlCashDetails(ZlCashDetails zlCashDetails);

    /**
     * 删除增量返现明细
     *
     * @param id 增量返现明细ID
     * @return 结果
     */
    public int deleteZlCashDetailsById(Integer id);

    /**
     * 批量删除增量返现明细
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteZlCashDetailsByIds(String[] ids);
    }
